package com.example.stock.ui.main;

import com.example.stock.R;
import com.example.stock.base.BaseRecyclerViewAdapter;
import com.example.stock.base.CommonViewHolder;
import com.example.stock.model.MainItemBean;
import com.example.stock.BR;

import java.util.List;

public class MainItemAdapter extends BaseRecyclerViewAdapter<MainItemBean> {
    public MainItemAdapter(List<MainItemBean> data) {
        super(data);
    }

    @Override
    protected int layoutId(int viewType) {
        return R.layout.item_recycler_main;
    }

    @Override
    protected int variableId() {
        return BR.itemBean;
    }

    @Override
    protected void convert(CommonViewHolder<MainItemBean> holder, MainItemBean entity, int position) {
        super.convert(holder, entity, position);
    }
}
